//
//  OrderSeatsViewController.h
//  OrderSeat
//
//  Created by 王威 on 14-1-27.
//  Copyright (c) 2014年 wangwei. All rights reserved.
//

#import <UIKit/UIKit.h>
#import "MWPhotoBrowser.h"
#import <AssetsLibrary/AssetsLibrary.h>
#import "BoxCell.h"
#import "HallCell.h"

@class OrderSeatsDataSource;
@interface OrderSeatsViewController : BaseViewController<BoxCellDelegate,MWPhotoBrowserDelegate>

@property (weak,   nonatomic) IBOutlet UITableView *seatsTable;

@property (copy,   nonatomic) NSString *orderId;
@property (assign, nonatomic) int seatType;
@property (strong, nonatomic) OrderSeatsDataSource *dataSource;

- (id) initWithOrderId:(NSString *)orderId andSeatType:(int)seatType;

@end

@interface OrderSeatsDataSource : BaseDataSource<UITableViewDelegate,UITableViewDataSource>

@property (strong, nonatomic) OrderSeatsViewController *Controller;
@property (strong, nonatomic) NSMutableArray *seatList;

- (void)fetchSeats;

@end
